package parser;

/**
 * This class contains codes for each grammar terminal
 * 
 * @version 2010-september-04
 * @discipline Compiladores
 * @author Gustavo H P Carvalho
 * @email gustavohpcarvalho@ecomp.poli.br
 */
public class GrammarSymbols {

	// Language terminals (starts from 0)
	public static final int ID = 0; //
	public static final int NUMBER = 1; // - OK
	public static final int SEMICOLON = 2; //
	public static final int LPAR = 3; // (
	public static final int RPAR = 4; // )
	public static final int LBRACKET = 5; // {
	public static final int RBRACKET = 6; // }
	public static final int ASSIGN = 7; // =
	public static final int MULT = 8; // *
	public static final int DIV = 9; // /
	public static final int PLUS = 10; // +
	public static final int MINUS = 11; // -
	public static final int EQUAL = 12; // ==
	public static final int NOTEQUAL = 13; // !=
	public static final int LESSERTHAN = 14; // <
	public static final int LESSEREQUALTHAN = 15; // <=
	public static final int GREATERTHAN = 16; // >
	public static final int GREATEREQUALTHAN = 17; // >=
	public static final int COMMA = 18; // ,
	public static final int VOID = 19; // void - OK
	public static final int INT = 20; // int - OK
	public static final int DOUBLE = 21; // double - OK
	public static final int BOOLEAN = 22; // boolean - OK
	public static final int IF = 23; // if - OK
	public static final int ELSE = 24; // else - OK
	public static final int WHILE = 25; // while - OK
	public static final int RETURN = 26; // return - OK
	public static final int BREAK = 27; // break - OK
	public static final int CONTINUE = 28; // continue - OK
	public static final int PRINTLN = 29; // println - OK
	public static final int FALSE = 30; // false - OK
	public static final int TRUE = 31; // true - OK
	public static final int EOT = 32; // End Of Transmission
}